<script>
	export default {
		onLaunch: function() {
		},
		onShow: function() {
		},
		onHide: function() {
		},
		onError(e) {
			console.error('程序出错了',e)
		},
		onPageNotFound(e) {
			console.error('onPageNotFound',e)
		}
	}
</script>

<style lang="scss">
	@import url("./static/icon/iconfont.css");
	@import url("./static/uifont/iconfont.css");
	
	view,text,div,span,p,i{
		border: 0;
		margin: 0;
		padding: 0;
		font-family: '微软雅黑';
		box-sizing: border-box;
	}
	
	.text-color{
		color: $base-color;
	}
	.bg-color{
		background-color: $base-color;
	}
	.border-color{
		border: 1px solid $base-color;
	}
	.disabled-color{
		color: $font-color-disabled;
	}
	.bg-white{
		background-color: #ffffff;
	}
	
	.clamp {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		display: block;
	}
	
	/* 图片载入替代方案 */
	.image-wrapper {
		font-size: 0;
		background: #f3f3f3;
		border-radius: 4px;
		image {
			width: 100%;
			height: 100%;
			transition: .6s;
			opacity: 0;
			&.loaded {
				opacity: 1;
			}
		}
	}
	
	.flex-col { 
		display: flex;
		flex-direction: column;
	}
	
	.flex-row {
		display: flex;
		flex-direction: row;
	}
	
	.justify-start {
		display: flex;
		justify-content: flex-start;
	}
	
	.justify-center {
		display: flex;
		justify-content: center;
	}
	
	.justify-end {
		display: flex;
		justify-content: flex-end;
	}
	
	.justify-evenly {
		display: flex;
		justify-content: space-evenly;
	}
	
	.justify-around {
		display: flex;
		justify-content: space-around;
	}
	
	.justify-between {
		display: flex;
		justify-content: space-between;
	}
	
	.align-start {
		display: flex;
		align-items: flex-start;
	}
	
	.align-center {
		display: flex;
		align-items: center;
	}
	
	.align-end {
		display: flex;
		align-items: flex-end;
	}
	
	.btn-primary{
		border-radius: 22px;
		color: #ffffff;
		padding:8px 15px;
		font-size: 20px;
		width: 100%;
		text-align: center;
		background-color: $base-color;
	}
</style>
